home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple Reference & Presen…tion Library 4 (Reseller)
/
Apple Ref. & Pres. Lib.v4.0.iso
/
4-Demos
/
Apple Demos
/
Tutorials
/
Display Card 4•8⁄8•24 Training
/
Display Card 4•8_8•24 Training
/
background_4016.txt
< prev
next >
Wrap
Text File
|
1990-03-19
|
7KB
|
326 lines
-- background: 4016 from stack: in
-- bmap block id: 4265
-- flags: 0000
-- background id: 0
-- name: mapBack
----- HyperTalk script -----
on openBackground
global mapLoc, cardLoc, cardName, tally
set cursor to watch
repeat with x = 1 to 14 -- all the sections
if line x of field "footprints" is empty or line x of fld "footprints" = "no" then
set the style of bkgnd button x to opaque
else set the style of bkgnd button x to transparent
set the icon of bkgnd button x to 0
end repeat
set the icon of bkgnd button 13 to 0 -- the stack map
set the style of bkgnd button 13 to transparent
--set the icon of bkgnd button mapLoc to "Open Cross small"
if line 11 of field "footprints" = "done" then exit openBackground
repeat with x = 1 to 10
if line x of field "footprints" ≠ "yes" then exit openBackground
end repeat
put "done" into line 11 of field "footprints"
answer "Congratulations! You finished the stack." with "Thank You"
answer "Would you like a Certificate of Completion?" with "Yes" or "No"
if it = "No" then exit openBackground
push card
visual dissolve
go card "certificate1"
end openBackground
on closeBackground
global mapLoc
put 13 into mapLoc
end closeBackground
-- part 3 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=128 top=22 right=44 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 18
-- style flags: 0
-- line height: 20
-- part name: cardTitle
-- part 7 (field)
-- low flags: 01
-- high flags: 0000
-- rect: left=128 top=63 right=82 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 157
-- text size: 14
-- style flags: 0
-- line height: 16
-- part name: cardText
-- part 16 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=129 top=101 right=117 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: open
-- part 17 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=129 top=157 right=173 bottom=157
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: help
-- part 18 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=289 top=101 right=117 bottom=317
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: intro
-- part 19 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=361 top=101 right=117 bottom=389
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: f&b
-- part 20 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=433 top=101 right=117 bottom=461
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: market
-- part 21 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=289 top=157 right=173 bottom=317
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: technology
-- part 22 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=361 top=157 right=173 bottom=389
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: service
-- part 23 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=433 top=157 right=173 bottom=461
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: question
-- part 24 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=289 top=265 right=281 bottom=317
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: glossary
-- part 45 (field)
-- low flags: 80
-- high flags: 0000
-- rect: left=8 top=24 right=155 bottom=95
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 9
-- part name: footprints
-- part 47 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=128 top=0 right=21 bottom=508
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 21
-- text size: 18
-- style flags: 10240
-- line height: 19
-- part name: Title
-- part 49 (field)
-- low flags: 81
-- high flags: 0000
-- rect: left=8 top=173 right=321 bottom=123
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 9
-- part name: menuList
-- part 52 (field)
-- low flags: 81
-- high flags: 0000
-- rect: left=0 top=330 right=342 bottom=108
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 9
-- part name: cardName
-- part 53 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=361 top=212 right=228 bottom=389
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: index
-- part 59 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=360 top=265 right=281 bottom=388
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: test
-- part 60 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=207 top=196 right=212 bottom=235
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: content
-- part 54 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=209 top=99 right=115 bottom=237
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: map
-- part 63 (button)
-- low flags: 00
-- high flags: 0001
-- rect: left=289 top=212 right=228 bottom=317
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button